<?php
defined('_JEXEC') or die ('restricted access');

jimport('joomla.application.component.view');

class BlogViewPosts extends JView
{
   
   function display ($tpl=null)
   {
      global $option,$mainframe;
      $model = & $this->getModel();
      
      $our_posts = $model->getPosts();
      
      foreach ($our_posts as &$post)
      {
         $post='<b>'.$post.'</b>';
      }
      
      $this->assignRef('posts', $our_posts);
      
      parent::display($tpl);
   }
}
?>